
HEADERS += \
    $$PWD/ZipWrapper.h

SOURCES += \
    $$PWD/ZipWrapper.cpp

win32: {
    INCLUDEPATH += $$PWD/win/include

    LIBS += -L$$PWD/win/lib -lzlib
}

macx: {
    INCLUDEPATH += $$PWD/mac/include

    LIBS += -L$$PWD/mac/lib -lz

    HEADERS += $$files($$PWD/mac/minizip/*.h)
    SOURCES += $$files($$PWD/mac/minizip/*.c)
    HEADERS -= $$PWD/mac/minizip/iowin32.h
    SOURCES -= $$PWD/mac/minizip/iowin32.c
}

linux: {
    INCLUDEPATH += $$PWD/linux/include

    LIBS += -L$$PWD/linux/lib -lz

    HEADERS += $$files($$PWD/linux/minizip/*.h)
    SOURCES += $$files($$PWD/linux/minizip/*.c)
    HEADERS -= $$PWD/linux/minizip/iowin32.h
    SOURCES -= $$PWD/linux/minizip/iowin32.c
}
